<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: 32566
  Date: 2022/10/7
  Time: 19:26
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<table>
    <tr><td>id</td><td>name</td></tr>
    <c:forEach items="${jdbcs}" var="jdbcs">
        <tr>
            <td>${jdbcs.id}</td>
            <td>${jdbcs.name}</td>
            <td><input value="删除" type="button" onclick="location.href='delete?id=${jdbcs.id}'"></td>
            <td><input value="修改" type="button" onclick="location.href='selectById?id=${jdbcs.id}'"></td>
        </tr>
    </c:forEach>
</table>
<input value="添加" type="button" onclick="location.href='insert.jsp'">
</body>
</html>
